3 Generic Firmware Update > 3.2 Requirements for the Firmware Download Utility > 3.2.3 Download Protocol for USB

3.2.3
The firmware download via USB can take place when the module is connected via the USB interface to the USB host. There is no need for a firmware inside a module because the Sie­mens bootloader includes a fully functional USB stack with a CDC (Communication Device Class) ACM (Abstract Control Model) device implementation.
The module simulates a modem connected via a standard serial COM port. Through this virtual COM port the module can be forced to enter the firmware download mode.
At first the module must be started by an appropriate mechanism, such as asserting the IGT (Ignition) signal or plugging in the USB cable.
Code fragments shown below are in pseudo C code based on the operating system with enabled USB functionality and should be easily adaptable to other operating systems.
What is the major difference between a generic update through ASC0/ASC1 and a generic update through USB?
•
The USB scenario requires that the virtual COM port be closed immediately after the AT^SFDL command was sent and OK received. Then, after 2 seconds the COM port shall be opened again.
•
Figure 8: Download protocol for USB
3.2.3.1